package capricornus
{
	import capricornus.components.ComponentsManager;
	import capricornus.core.RefreshManager;
	import capricornus.core.StageManager;
	import capricornus.io.KeyboardManager;
	import capricornus.net.NetWorkManager;
	import capricornus.scene.SceneManager;
	import capricornus.utils.FPS;
	
	import flash.display.Stage;

	public class Capricornus
	{
		public function Capricornus()
		{
		}
		
		public static function initialize( stage:Stage ):void
		{
			StageManager.instance.initialize( stage );
//			SceneManager.instance.initialize();
			NetWorkManager.instance.initialize();
			ComponentsManager.instance;
			RefreshManager.instance;
			new KeyboardManager();
			
			stage.addChild( new FPS() );
		}
	}
}